package com.sj.purchase.modules.cost.domain.order;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 入库订单详情表
 * Created by icodebug on 17-7-16.
 */
@Entity
@Table(name = "t_in_order_details")
public class InOrderItem extends OrderItem {

    @ManyToOne
    private InOrder order;

    public InOrder getOrder() {
        return order;
    }

    public void setOrder(InOrder order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "InOrderItem{" +
                "order=" + order +
                '}';
    }
}
